package com.boyi.db.mapper;

import com.boyi.db.entity.User;
import org.apache.ibatis.annotations.Select;
import com.boyi.mybatis.mapper.common.MyMapper;

/**
 * @author Administrator
 */
public interface UserMapper extends MyMapper<User> {
	@Select(value = "select state from `user` where `user_id` = #{key}")
	Short selectStateByPrimaryKey(String key);
}